/*
 * Statistics.java
 *
 * Created on May 4, 2007, 10:28 PM
 *
 * Copyright (c) 2007 Daniel Gronau
 *
 * This file is part of KanjiTori.
 *
 * KanjiTori is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * KanjiTori is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 *
 */

package kanjitori.stats;

/**
 *
 * @author DGronau
 */
public class Statistics {
    
    public enum Result {WIN, LOSS, BREAK}
    
    private String lesson;
    private String map;
    private int questionsTotal;
    private int questionsRight = 0;
    private int botsTotal;
    private int botsRight = 0;
    private int hurt = 0;
    private Result result;
    private int seconds;
        
    /** Creates a new instance of Statistics */
    public Statistics(String lesson, String map) {
        this.lesson = lesson;
        this.map = map;
    }

    public String getLesson() {
        return lesson;
    }

    public String getMap() {
        return map;
    }

    public int getQuestionsTotal() {
        return questionsTotal;
    }
    
    public void setQuestionsTotal(int questionsTotal) {
        this.questionsTotal = questionsTotal;
    }

    public int getQuestionsRight() {
        return questionsRight;
    }

    public void incQuestionsRight() {
        this.questionsRight++;
    }

     public int getBotsTotal() {
        return botsTotal;
    }

    public void setBotsTotal(int botsTotal) {
        this.botsTotal = botsTotal;
    }

    public int getBotsRight() {
        return botsRight;
    }

    public void incBotsRight() {
        this.botsRight++;
    }

    public int getHurt() {
        return hurt;
    }

    public void incHurt() {
        this.hurt++;
    }

    public int getSeconds() {
        return seconds;
    }

    public void setSeconds(int seconds) {
        this.seconds = seconds;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }
    
}
